package Final;

import java.util.Arrays;

public class Array {
    public static void main(String[] args) {
        final int[] a = new int[2];
        a[0] = 1;
        a[1] = 2;
        System.out.println(Arrays.toString(a));
        System.out.println(a);
        int[] b = new int[2];
        b = a;
        b[0] =3;
        System.out.println(Arrays.toString(b));
        System.out.println(b);
    }
}
